Image processing device, image processing method, and program

ABSTRACT

In one example, an image processing device includes a reduction scaler unit that reduces or maintains the image data of an input image. An enlargement scaler unit enlarges or maintains the image data and outputs the image data as the image data of an output image. The reduction scaler unit converts the resolution of the input image to an intermediate resolution in accordance with first image parameters related to an image to be supplied from the enlargement scaler unit, the intermediate resolution being a resolution for performing writing on the memory unit. The enlargement scaler unit converts the intermediate resolution of a memory-held image read from the memory unit to the resolution of the output image, in accordance with second image parameters related to an image to be supplied from the reduction scaler unit.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a Continuation of application Ser. No.15/502,977, filed Feb. 9, 2017, which is a 371 National Stage Entry ofInternational Application No.: PCT/JP2015/074339, filed on Aug. 28,2015, which in turn claims priority from Japanese Priority PatentApplication JP 2014-185968 filed Sep. 12, 2014, the entire contents ofwhich are incorporated herein by reference.

TECHNICAL FIELD

The present technology relates to an image processing device, an imageprocessing method, and a program, and more particularly, to an imageprocessing device, an image processing method, and a program forachieving both smooth animation display and higher image quality innon-animation display.

BACKGROUND ART

When content such as a television program is displayed, the display areais continuously changed at predetermined times. This is known asanimation display (see Patent Document 1, for example).

CITATION LIST Patent Document

-   Patent Document 1: Japanese Patent Application Laid-Open No.    11-65802

SUMMARY OF THE INVENTION Problems to be Solved by the Invention

Meanwhile, where animation display of content can be switched on andoff, however, there is a demand for both smooth animation display andhigher image quality in non-animation display.

The present technology has been developed in view of thosecircumstances, and aims to achieve both smooth animation display andhigher image quality in non-animation display.

Solutions to Problems

An image processing device according to an aspect of the presenttechnology is an image processing device that includes: a memory unitthat stores image data; a reduction scaler unit that reduces the imagedata of an input image or maintains the current size of the input image,and stores the image data into the memory unit; and an enlargementscaler unit that enlarges the image data stored in the memory unit ormaintains the current size of the image, and outputs the image data asthe image data of an output image. The reduction scaler unit convertsthe resolution of the input image to an intermediate resolution inaccordance with first parameters related to an image to be supplied fromthe enlargement scaler unit, the intermediate resolution being aresolution for performing writing on the memory unit. The enlargementscaler unit converts the intermediate resolution of a memory-held imageread from the memory unit to the resolution of the output image, inaccordance with second parameters related to an image to be suppliedfrom the reduction scaler unit.

The image processing device according to an aspect of the presenttechnology may be an independent device or may be an internal blockforming one device. Further, an image processing method or a programaccording to an aspect of the present technology is an image processingmethod or a program compatible with the above image processing deviceaccording to an aspect of the present technology.

In the image processing device, the image processing method, and theprogram according to an aspect of the present technology, the reductionscaler unit converts the resolution of an input image to theintermediate resolution that is the resolution for performing writing onthe memory unit, in accordance with first parameters related to an imageto be supplied from the enlargement scaler unit. The enlargement scalerunit converts the intermediate resolution of a memory-held image readfrom the memory unit to the resolution of an output image, in accordancewith second parameters related to an image to be supplied from thereduction scaler unit.

Effects of the Invention

According to an aspect of the present technology, it is possible toachieve both smooth animation display and higher image quality innon-animation display.

It should be noted that effects of the present technology are notlimited to the effects described herein, and may include any of theeffects described in the present disclosure.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a diagram showing a configuration in which anenlargement/reduction scaler unit is disposed on the reading side of amemory unit.

FIG. 2 is a diagram schematically showing an image enlargement processto be performed by the enlargement/reduction scaler unit shown in FIG.1.

FIG. 3 is a diagram schematically showing an image reduction process tobe performed by the enlargement/reduction scaler unit shown in FIG. 1.

FIG. 4 is a diagram schematically showing the procedures in a verticalreduction process in a case where the configuration shown in FIG. 1 isemployed.

FIG. 5 is a diagram showing the configuration of an embodiment of animage processing device to which the present technology is applied.

FIG. 6 is a diagram schematically showing an image reduction process tobe performed by the reduction scaler unit shown in FIG. 5.

FIG. 7 is a diagram schematically showing an image enlargement processto be performed by the enlargement scaler unit shown in FIG. 5.

FIG. 8 is a diagram showing the outline of the mechanism of imageparameter transfers between the reduction scaler unit and theenlargement scaler unit.

FIG. 9 is a diagram showing the details of the mechanism of imageparameter transfers between the reduction scaler unit and theenlargement scaler unit.

FIG. 10 is a diagram for explaining an animation display operation.

FIG. 11 is a diagram showing an example of animation display in the caseof two-screen display.

FIG. 12 is a diagram showing an example of animation display in the caseof two-screen display.

FIG. 13 is a diagram for explaining the transition at the time of animage reduction in non-animation display.

FIG. 14 is a diagram for explaining the transition at the time of animage enlargement in non-animation display.

FIG. 15 is a diagram for explaining the transition at the time of animage reduction transition in animation display.

FIG. 16 is a diagram for explaining the transition at the time of animage reduction transition in animation display.

FIG. 17 is a diagram for explaining the transition at the time of animage reduction transition in animation display.

FIG. 18 is a diagram for explaining the transition at the time of animage enlargement transition in animation display.

FIG. 19 is a diagram for explaining the transition at the time of animage enlargement transition in animation display.

FIG. 20 is a diagram for explaining the transition at the time of animage enlargement transition in animation display.

FIG. 21 is a diagram showing a configuration in a case where the imageparameter transfer for enabling the scaler units to operate inconjunction with each other is performed by hardware.

FIG. 22 is a diagram showing a configuration in a case where the imageparameter transfer for enabling the scaler units to operate inconjunction with each other is performed by software.

FIG. 23 is a diagram for explaining a method of determining the marginsize in animation display.

FIG. 24 is a diagram for explaining the method of determining the marginsize in animation display.

FIG. 25 is a diagram showing animation display based on linearcharacteristics.

FIG. 26 is a diagram showing a linear characteristics animation displaytable.

FIG. 27 is a diagram showing animation display based on quadratic curvecharacteristics.

FIG. 28 is a diagram showing a quadratic curve characteristics animationdisplay table.

FIG. 29 is a flowchart for explaining a scaling process.

FIG. 30 is a flowchart for explaining a parameter selection process.

FIG. 31 is a diagram showing the configuration of an embodiment of areceiving apparatus to which the present technology is applied.

MODE FOR CARRYING OUT THE INVENTION

The following is a description of an embodiment of the presenttechnology, with reference to the drawings. It should be noted thatexplanation will be made in the following order.

1. Interlocked operations of scaler units

2. Screen display through the interlocked operations of the scaler units

(1) Non-animation display operation

(2) Animation display operation

3. Specific configuration for achieving interlocked operations of thescaler units

4. Flow of a scaling process

5. Configuration of a receiving apparatus

<1. Interlocked Operations of Scaler Units>

FIG. 1 is a diagram showing the configuration of an image processingdevice having an enlargement/reduction scaler unit 11 disposed on thereading side of a memory unit 12. Specifically, in FIG. 1, the imagedata of an input image is written into and stored in the memory unit 12.Therefore, the enlargement/reduction scaler unit 11 reads the image datastored in the memory unit 12, enlarges or reduces the image, and outputsthe image as an output image.

It should be noted that FIG. 2 schematically shows a situation where animage enlargement process is performed by the enlargement/reductionscaler unit 11, and an input image is enlarged to an output image. Also,FIG. 3 schematically shows a situation where an image reduction processis performed by the enlargement/reduction scaler unit 11, and an inputimage is reduced to an output image.

In a case where an enlargement or reduction process is performed on ahigh-quality image of 4K2K (a resolution of approximately 4000×2000) inthe image processing device shown in FIG. 1, the problems describedbelow are likely to be caused. That is, in a case where a ½ verticalreduction process is performed, as shown in FIG. 4, two or more linesneed to be read at the same time, and therefore, twice or more bandwidthof the memory unit 12 is used. Because of this, the hardware of thememory controller (not shown) that controls the memory unit 12 mightbecome larger in size. Also, where the input/output bitwidth of imagedata is made greater to increase the bandwidth of the memory unit 12,the number of external memories might become larger.

To counter this, a reduction scaler unit is disposed in the stage beforethe memory unit, and an enlargement scaler unit is disposed in the stageafter the memory unit in an image processing device to which the presenttechnology is applied. In this image processing device, a verticalreduction process is performed prior to writing into the memory unit, toprevent an increase in the bandwidth of the memory unit and an increasein the size of the hardware of the memory controller. Furthermore, inthe image processing device to which the present technology is applied,there is no need to increase the input/output bitwidth of image data soas to increase the bandwidth of the memory unit. Thus, an increase inthe number of external memories can be prevented.

(Configuration of an Image Processing Device)

FIG. 5 is a diagram showing the configuration of an embodiment of animage processing device to which the present technology is applied.

In FIG. 5, the image processing device 100 includes a reduction scalerunit 111, a memory unit 112, and an enlargement scaler unit 113.

The reduction scaler unit 111 is provided in the stage before the memoryunit 112, and performs an image reduction process on the image data ofan input image, to reduce the image data of the input image. Thereduction scaler unit 111 then writes the image data into the memoryunit 112. That is, as shown in FIG. 6, in the image reduction process tobe performed by the reduction scaler unit 111, the resolution of theinput image is converted into a resolution for performing writing on thememory unit 112 (this resolution will be hereinafter referred to as the“intermediate resolution”), and the writing is performed on the memoryunit 112.

As a result, a memory-held image that is an image formed by reducing theinput image and has the intermediate resolution, which is lower than theresolution of the input image, is stored in the memory unit 112. Itshould be noted that the reduction scaler unit 111 may also be able towrite the image data of the input image into the memory unit 112, whilemaintaining the current size of the input image without performing anyimage reduction process on the image data of the input image.

The memory unit 112 is a volatile memory, such as a dynamic randomaccess memory (DRAM). The memory unit 112 functions as a frame memorythat stores the image data of one or more memory-held images on a framebasis.

The enlargement scaler unit 113 is disposed in the stage after thememory unit 112, and performs an image enlargement process on the imagedata of a memory-held image read from the memory unit 112, to enlargethe image data of the memory-held image. The enlargement scaler unit 113then outputs the image data as the image data of an output image to theblock in the subsequent stage (the display unit 414 in FIG. 31, forexample). That is, as shown in FIG. 7, in the image enlargement processto be performed by the enlargement scaler unit 113, the intermediateresolution of the memory-held image is converted to the resolution ofthe output image, and the output image is output to the block in thesubsequent stage.

As a result, an output image (display image) that is an image formed byenlarging the memory-held image having the intermediate resolution andhas a higher resolution than that of the memory-held image is output tothe block in the subsequent stage. It should be noted that theenlargement scaler unit 113 may also be able to output the image data ofthe memory-held image as the image data of the output image, whilemaintaining the current size of the memory-held image without performingany image enlargement process on the image data of the memory-heldimage.

Furthermore, in the image processing device 100 shown in FIG. 5, thereduction scaler unit 111 and the enlargement scaler unit 113 operate inconjunction with each other by exchanging parameters for controlling theresolutions of images (these parameters will be hereinafter referred toas the “image parameters”). It should be noted that, in the descriptionbelow, of these image parameters, the image parameters to be transferredfrom the enlargement scaler unit 113 to the reduction scaler unit 111will be referred to as the “first image parameters”, and the imageparameters to be transferred from the reduction scaler unit 111 to theenlargement scaler unit 113 will be referred to as the “second imageparameters”.

(Image Parameter Transfers Between the Scaler Units)

A method of transferring image parameters between the reduction scalerunit 111 and the enlargement scaler unit 113 is now described. FIG. 8 isa diagram showing the outline of the mechanism of image parametertransfers between the reduction scaler unit 111 and the enlargementscaler unit 113.

It should be noted that, in FIG. 8, animation display means displayingcontent such as a television program while continuously changing thedisplay area of the content at predetermined times. Meanwhile,non-animation display means displaying the display area of content suchas a television program in a normal state (one-screen display) withoutanimation display. The image processing device 100 operates in eitherone of the display modes.

In FIG. 8, the enlargement scaler unit 113 supplies the first imageparameters to the reduction scaler unit 111 (S11). These first imageparameters include output display parameters and the like related to theoutput image (display image). In accordance with the first imageparameters supplied from the enlargement scaler unit 113 and input imageparameters related to the input image, the reduction scaler unit 111selects the smallest value from among the sizes included in thoseparameters (S12).

It should be noted that, as will be described later in detail withreference to FIG. 9 and other drawings, a size is selected from threesizes included in the parameters in a case where an operation is beingperformed in the animation display mode, and a size is selected from twosizes included in the parameters in a case where an operation is beingperformed in the non-animation display mode. The selected size is thenset as the size of the intermediate resolution.

The reduction scaler unit 111 supplies the second image parameters tothe enlargement scaler unit 113 (S13). These second image parametersinclude the size of the intermediate resolution and the output displayparameters. In accordance with the second image parameters supplied fromthe reduction scaler unit 111, the enlargement scaler unit 113 sets thesize of the intermediate resolution and the output display parameters.

As described above, in the image processing device 100, the reductionscaler unit 111 and the enlargement scaler unit 113 exchange imageparameters and operate in conjunction with each other, to achieve bothsmooth animation display and higher image quality in non-animationdisplay.

More specifically, as shown in FIG. 9, the first image parameterssupplied to the reduction scaler unit 111 from the enlargement scalerunit 113 include the output display parameters (B_Win.x, y, w, h),margin parameters for animation display (B_Ani.x, y, w, h), an animationflag (Animation), and an initial flag (AnimInit). Note that among theseparameters, x represents a horizontal position, y represents a verticalposition, w represents a horizontal size, and h represents a verticalsize.

The output display parameters include information indicating the displayposition and the display size of the output image (display image). Themargin parameters are parameters that are set in the animation displaymode, and include information indicating the position and the size(margin size) of the area for the margin of the intermediate resolution.

The animation flag is a 1-bit flag indicating the presence or absence ofanimation display. The animation flag is on (ON) in the animationdisplay mode, and is off (OFF) in the non-animation display mode. Theinitial flag is a 1-bit flag indicating whether to set the margin sizeof the intermediate resolution as preprocessing for animation display.The initial flag is on (ON) when a margin size setting process isperformed, and is off (OFF) when any other process is performed.

Specifically, in the animation display mode, the first image parametersinclude the output display parameters, the margin parameters, theanimation flag that is on, and the initial flag that is on or off. Inthe non-animation display mode, on the other hand, the first imageparameters include the output display parameters, the animation flagthat is off, and the initial flag that is off.

The first image parameters from the enlargement scaler unit 113 aresupplied to the reduction scaler unit 111. The reduction scaler unit 111also acquires the input image parameters (F_Src.x, y, w, h). The inputimage parameters include information indicating the image position andimage size of the input image.

In the animation display mode (the animation flag is on, and the initialflag is on or off), the reduction scaler unit 111 compares the inputimage parameters, the output display parameters, and the marginparameters, and selects the size of the smallest value among thoseparameters (three-alternative choice).

Further, in the non-animation display mode (the animation flag is off,and the initial flag is off), the reduction scaler unit 111 compares theinput image parameters with the output display parameters, and selectsthe smaller size (the size of the smallest value) in those parameters(two-alternative choice).

As the size of the smallest value is selected in the animation displaymode or the non-animation display mode in the above manner, thereduction scaler unit 111 sets the size of the smallest value as thesize of the intermediate resolution (Mid.w, h). The reduction scalerunit 111 also supplies the size of the intermediate resolution and thesecond image parameters including the output display parameters to theenlargement scaler unit 113.

In the enlargement scaler unit 113, the size of the intermediateresolution as the input size, and the output display parameters (thedisplay size of the output image (display image), for example)) are setin accordance with the second image parameters from the reduction scalerunit 111.

As described above, the reduction scaler unit 111 and the enlargementscaler unit 113 exchange the first image parameters including the outputdisplay parameters, the margin parameters, and the like, and the secondimage parameters including the size of the intermediate resolution andthe output display parameters, so that the reduction scaler unit 111 andthe enlargement scaler unit 113 operate in conjunction with each other,and both smooth animation display and higher image quality innon-animation display can be achieved.

<2. Screen Display Through the Interlocked Operations of the ScalerUnits>

Next, the screen display to be achieved through the above describedinterlocked operations of the reduction scaler unit 111 and theenlargement scaler unit 113 is described. Here, animation display fordisplaying a display area while continuously changing the display area,and non-animation display for displaying a display area without anyanimation display operation are described herein as the screen display.

(Animation Display)

FIG. 10 is a diagram for explaining an animation display operation.

In FIG. 10, the display area of a display image 201 is continuouslyreduced at predetermined timing by an animation display operation, andthe display image 201 is reduced to the display size of a display image202. Also, the display area of the display image 202 is continuouslyenlarged at predetermined timing by the animation display operation, andthe display image 202 is enlarged to the display size of the displayimage 201. It should be noted that, in this animation display operation,the display position and the display size of the display image (outputimage) are updated at the time indicated by a vertical synchronizationsignal (Vsync) on the output side.

FIGS. 11 and 12 show example cases where two display images (outputimages) are displayed as two screens on a screen 210. In FIG. 11, in acase where a display image 211 and a display image 212 are displayed astwo screens, and the direction of is the direction from left to right inthe drawing, a display image 211-1 and a display image 212-1 that issmaller than the display image 211-1 are displayed at time t1. At timet2, which is a predetermined time after time t1, a display image 211-2formed by reducing the display image 211-1, and a display image 212-2formed by enlarging the display image 212-1 are displayed. At time t3,which is a predetermined time after time t2, a display image 211-3formed by further reducing the display image 211-1, and a display image212-3 formed by further enlarging the display image 212-1 are displayed.It should be noted that, at time t3, the display image 211-3 and thedisplay image 212-3 have the same display size.

Of the display images 211 and 212 displayed as two screens, the displayimage 211 is continuously reduced over time, while the display image 212is continuously enlarged over time, as described above. In this manner,animation display is performed so that the display image 211 and thedisplay image 212 eventually have the same display size.

It should be noted that, in the example described above, the directionof time is the direction from left to right in the drawing. However,animation display may change in the direction from right to left in thedrawing, or in the direction from time t3 to time t2 to time t1. In thiscase, of the display images 211 and 212 having the same display size,the display image 211 is continuously enlarged over time, while thedisplay image 212 is continuously reduced over time. In this manner,animation display is performed so that the display image 211 eventuallybecomes larger in size than the display image 212.

Also, in a case where the display image 211 and the display image 212are displayed as two screens on the screen 210 in FIG. 12, and thedirection of time is the direction from left to right in the drawing, adisplay image 211-4 and a display image 212-4 are displayed in the samedisplay size at time t4. At time t5, which is a predetermined time aftertime t4, a display image 211-5 formed by reducing the display image211-4, and a display image 212-5 formed by enlarging the display image212-4 are displayed. At time t6, which is a predetermined time aftertime t5, a display image 211-6 formed by further reducing the displayimage 211-4, and a display image 212-6 formed by further enlarging thedisplay image 212-4 are displayed.

Of the display images 211 and 212 displayed as two screens, the displayimage 211 is continuously reduced over time, while the display image 212is continuously enlarged over time, as described above. In this manner,animation display of the display image 211 and the display image 212having the same display size is performed so that the display image 212becomes larger in size than the display image 211.

It should be noted that, in the example described above, the directionof time is the direction from left to right in the drawing. However,animation display may change in the direction from right to left in thedrawing, or in the direction from time t6 to time t5 to time t4. In thiscase, of the display image 211 and the display image 212 having a largersize than the display image 211, the display image 211 is continuouslyenlarged over time, while the display image 212 is continuously reducedover time. In this manner, animation display is performed so that thedisplay image 211 and the display image 212 eventually have the samedisplay size.

Also, the animation display shown in FIG. 11 and the animation displayshown in FIG. 12 may be successively performed. Specifically, as timest1 through t6 are on the same time axis, the display image 211 iscontinuously reduced over time, while the display image 212 iscontinuously enlarged over time. Consequently, at time t6, the displayimage 212 has a larger display size than the display image 211, which isthe opposite of the situation at time t1.

(1) Non-Animation Display Operation

(Transition at the Time of an Image Reduction in Non-Animation Display)

FIG. 13 is a diagram for explaining the transition at the time of animage reduction in non-animation display. In FIG. 13, the imageprocessing device 100 is operating in the non-animation display mode.

It should be noted that, in FIG. 13, the direction of time is thedirection from top to bottom in the drawing. Also, in FIG. 13, of thefour images at each of the times arranged in chronological order, thetwo images on the left side represent the image to be processed by thereduction scaler unit 111, or the input image to be input to thereduction scaler unit 111, and the memory-held image to be written intothe memory unit 112 by the reduction scaler unit 111. It should be notedthat one or more memory-held images are stored in the memory unit 112.

Also, of the four images, the two images on the right side represent theimage to be processed by the enlargement scaler unit 113, or thememory-held image to be read from the memory unit 112 and be input tothe enlargement scaler unit 113, and the output image (display image) tobe output from the enlargement scaler unit 113. It should be noted that,in a case where two or more memory-held images are stored in the memoryunit 112, the enlargement scaler unit 113 reads one of the memory-heldimages. It should be noted that the relationship between these images issimilar to those in the other drawings described later.

At time t11, the reduction scaler unit 111 performs writing on thememory unit 112, while maintaining the current size of the input image.The enlargement scaler unit 113 then performs an image enlargementprocess, reads the memory-held image stored in the memory unit 112,enlarges the size of the memory-held image to the size of the outputimage, and outputs the output image.

At time t11, the enlargement scaler unit 113 also supplies the firstimage parameters to the reduction scaler unit 111. These first imageparameters include the output display parameters (B_Win.x, y, w, h) andthe animation flag (Animation) or the like. On the other hand, thereduction scaler unit 111 acquires the first image parameters from theenlargement scaler unit 113. The reduction scaler unit 111 also acquiresthe input image parameters (F_Src.x, y, w, h). It should be noted that,in the example shown in FIG. 13, the image processing device 100 isoperating in the non-animation display mode, and therefore, theanimation flag is off.

At time t12, the reduction scaler unit 111 compares the input imageparameters (F_Src.x, y, w, h) with the output display parameters(B_Win.x, y, w, h), and selects the smaller size (the smallest size)from the sizes included in those parameters (two-alternative choice). Inthis example, the display size in the output display parameters issmaller than the image size in the input image parameters (F_Src.w,h>B_Win.w, h), and therefore, the display size in the output displayparameters is selected. It should be noted that, although not describedin detail for ease of explanation, the smallest horizontal size and thesmallest vertical size are selected independently of each other inpractice.

At time t13, the reduction scaler unit 111 sets the size of theintermediate resolution (Mid.w, h), which is the display size (B_Win.w,h) in the output display parameters selected as the smallest size. Inthis example, the display size in the output display parameters, whichis smaller than the image size in the input image parameters, is set asthe size of the intermediate resolution. Therefore, the reduction scalerunit 111 performs an image reduction process to reduce the image size ofthe input image to the size of the intermediate resolution, and writesthe reduced input image into the memory unit 112.

It should be noted that, when the reduction scaler unit 111 sets theintermediate resolution, the display size in the output displayparameters (B_Win.x, y, w, h) to be returned to the enlargement scalerunit 113 is set in the system for transmitting image parameters from thereduction scaler unit 111 to the enlargement scaler unit 113 (thissystem will be described later in detail with reference to FIG. 22). Thereduction scaler unit 111 supplies the second image parameters to theenlargement scaler unit 113. These second image parameters include thesize of the intermediate resolution (B_Win.w, h) and the output displayparameters (B_Win.x, y, w, h).

At time t14, the enlargement scaler unit 113 sets the size of theintermediate resolution (B_Win.w, h) and the output display parameters(B_Win.x, y, w, h) of the output image (display image), in accordancewith the second image parameters supplied from the reduction scaler unit111. In this example, the size of the intermediate resolution is thesame as the display size of the output image (display image). Therefore,the enlargement scaler unit 113 reads the memory-held image from thememory unit 112, and outputs the memory-held image while maintaining thecurrent size of the memory-held image. As a result, the reduced displayimage (output image) is displayed.

In the above described transition at the time of an image reduction innon-animation display, when the reduction scaler unit 111 stores aninput image into the memory unit 112 without any change in the size ofthe input image, the enlargement scaler unit 113 enlarges thememory-held image stored in the memory unit 112 and then outputs theenlarged image. When the reduction scaler unit 111 reduces an inputimage and stores the reduced input image into the memory unit 112, onthe other hand, the enlargement scaler unit 113 outputs the memory-heldimage stored in the memory unit 112 without any change in the size ofthe memory-held image.

That is, in the non-animation display mode at the time of an imagereduction, either the reduction scaler unit 111 or the enlargementscaler unit 113 does not perform any scaling process but outputs animage while maintaining the current size of the image, and only onescaling process that is a reduction process or an enlargement process isperformed. Thus, image quality degradation due to repetitive scalingprocesses can be prevented, and higher image quality can be achieved.

(Transition at the Time of an Image Enlargement in Non-AnimationDisplay)

FIG. 14 is a diagram for explaining the transition at the time of animage enlargement in non-animation display. In FIG. 14, the imageprocessing device 100 is operating in the non-animation display mode.

At time t21, the reduction scaler unit 111 performs an image reductionprocess to reduce the size of an input image, and writes the reducedinput image into the memory unit 112. The enlargement scaler unit 113then reads the memory-held image stored in the memory unit 112, andoutputs the memory-held image as the output image while maintaining thecurrent size of the memory-held image.

At time t21, the enlargement scaler unit 113 also supplies the firstimage parameters, which include the output display parameters (B_Win.x,y, w, h) and the animation flag (Animation) or the like, to thereduction scaler unit 111. It should be noted that the image processingdevice 100 is operating in the non-animation display mode in thisexample, and therefore, the animation flag is off.

At time t22, the reduction scaler unit 111 compares the input imageparameters (F_Src.x, y, w, h) with the output display parameters(B_Win.x, y, w, h), and selects the smaller size (the smallest size)from the sizes included in those parameters (two-alternative choice). Inthis example, the image size in the input image parameters is smallerthan the display size in the output display parameters (F_Src.w,h<B_Win.w, h), and therefore, the image size in the input imageparameters is selected. It should be noted that the smallest horizontalsize and the smallest vertical size are selected independently of eachother in this case.

At time t23, the reduction scaler unit 111 sets the size of theintermediate resolution (Mid.w, h), which is the image size (F_Src.w, h)in the input image parameters selected as the smallest size. In thisexample, the image size in the input image parameters, which is smallerthan the display size in the output display parameters, is set as thesize of the intermediate resolution. Therefore, the reduction scalerunit 111 writes the input image into the memory unit 112 whilemaintaining the current size of the input image.

It should be noted that, when the reduction scaler unit 111 sets theintermediate resolution, the display size in the output displayparameters (B_Win.x, y, w, h) to be returned to the enlargement scalerunit 113 is set in the image parameter transmission system. Thereduction scaler unit 111 supplies the second image parameters to theenlargement scaler unit 113. These second image parameters include thesize of the intermediate resolution (F_Src.w, h) and the output displayparameters (B_Win.x, y, w, h).

At time t24, the enlargement scaler unit 113 sets the size of theintermediate resolution (F_Src.w, h) and the output display parameters(B_Win.x, y, w, h) of the output image (display image), in accordancewith the second image parameters supplied from the reduction scaler unit111. In this example, the display size of the output image (displayimage) is larger than the size of the intermediate resolution.Therefore, the enlargement scaler unit 113 performs an image enlargementprocess to enlarge the memory-held image (having the size of theintermediate resolution) read from the memory unit 112 to the displaysize of the output image, and then outputs the enlarged output image. Asa result, the enlarged display image (output image) is displayed.

In the above described transition at the time of an image enlargement innon-animation display, when the reduction scaler unit 111 reduces aninput image and stores the reduced input image into the memory unit 112,the enlargement scaler unit 113 outputs the memory-held image stored inthe memory unit 112 without any change in the size of the memory-heldimage. When the reduction scaler unit 111 stores an input image into thememory unit 112 without any change in the size of the input image, onthe other hand, the enlargement scaler unit 113 enlarges the memory-heldimage stored in the memory unit 112 and then outputs the enlargedmemory-held image.

That is, in the non-animation display mode at the time of an imageenlargement, either the reduction scaler unit 111 or the enlargementscaler unit 113 does not perform any scaling process but outputs animage while maintaining the current size of the image, and only onescaling process that is a reduction process or an enlargement process isperformed. Thus, image quality degradation due to repetitive scalingprocesses can be prevented, and higher image quality can be achieved.

(2) Animation Display Operation

(Transition at the Time of an Image Reduction Transition in AnimationDisplay)

FIGS. 15 through 17 are diagrams for explaining the transition at thetime of an image reduction transition in animation display.

It should be noted that, although FIGS. 15 through 17 are separatedrawings, the time in these drawings is continuous. Specifically, FIG.15 shows a margin size setting process as the preprocessing foranimation display. FIG. 16 shows an animation display process. FIG. 17shows a non-animation display process (postprocessing for the animationdisplay). In this example, these processes are to be performed as aseries of processes. Therefore, the image processing device 100 operatesin the animation display mode in FIGS. 15 and 16, but operates in thenon-animation display mode in FIG. 17.

At time t31, the reduction scaler unit 111 performs an image reductionprocess to reduce the size of an input image, and writes the reducedinput image into the memory unit 112. The enlargement scaler unit 113then reads the memory-held image stored in the memory unit 112, andoutputs the memory-held image as the output image without any change insize.

At time t31, the enlargement scaler unit 113 also supplies the firstimage parameters, which include the output display parameters, themargin parameters, the animation flag, and the initial flag, to thereduction scaler unit 111.

It should be noted that the margin size of the intermediate resolutionis set at 8V in this example. Therefore, the first image parametersinclude the output display parameters (B_Ani[00].x, y, w, h) and themargin parameters (B_Ani[08].x, y, w, h). Here, “B_Ani[00].x, y, w, h”represents the parameters at the start of the animation display, and“B_Ani[08].x, y, w, h” represents the parameters 8V after the start.These relationships are similar to those in the other drawings describedlater.

Also, since the image processing device 100 is operating in theanimation display mode in this example, the animation flag is on.Further, since the margin size setting process is performed as thepreprocessing for the animation display in this example, the initialflag is on.

At time t32, the reduction scaler unit 111 compares the input imageparameters (F_Src.x, y, w, h), the output display parameters(B_Ani[00].x, y, w, h), and the margin parameters (B_Ani[08].x, y, w,h), and selects the smallest size from the sizes included in thoseparameters (three-alternative choice). Since the size in the marginparameters after 8V (the margin size) is the smallest in this example(B_Ani[08].w, h<B_Ani[00].w, h<F_Src.w, h), the margin size after 8V isselected. It should be noted that the smallest horizontal size and thesmallest vertical size are selected independently of each other in thiscase.

At time t33, the reduction scaler unit 111 sets the size of theintermediate resolution (Mid.w, h), which is the margin size(B_Ani[08].w, h) after 8V selected as the smallest size. In thisexample, the margin size after 8V, which is smaller than the image sizein the input image parameters, is set as the size of the intermediateresolution. Therefore, the reduction scaler unit 111 performs an imagereduction process to reduce the image size of the input image to thesize of the intermediate resolution, and writes the reduced input imageinto the memory unit 112.

It should be noted that, when the reduction scaler unit 111 sets theintermediate resolution, the output display parameters (B_Ani[00].x, y,w, h) to be returned to the enlargement scaler unit 113 are set in theimage parameter transmission system. The reduction scaler unit 111supplies the second image parameters to the enlargement scaler unit 113.These second image parameters include the size of the intermediateresolution (B_Ani[08].w, h) and the output display parameters(B_Ani[00].x, y, w, h).

At time t34, the enlargement scaler unit 113 sets the size of theintermediate resolution (B_Ani[08].w, h) and the output displayparameters (B_Ani[00].x, y, w, h) of the output image (display image),in accordance with the second image parameters supplied from thereduction scaler unit 111. In this example, the display size of theoutput image is larger than the size of the intermediate resolution.Therefore, the enlargement scaler unit 113 performs an image enlargementprocess to enlarge the memory-held image (having the size of theintermediate resolution) read from the memory unit 112 to the displaysize of the output image, and then outputs the enlarged output image.

As the margin size setting process shown in FIG. 15 is performed asabove, the margin size after 8V is set as the size of the intermediateresolution, and accordingly, a sufficient margin size is achieved. Thus,the preparation for the start of an animation display process iscompleted. Then, after the preparation for the start of an animationdisplay process is completed, the animation display process shown inFIG. 16 is started.

In the animation display process shown in FIG. 16, during the periodfrom the starting time till the ending time of the animation display, animage reduction process by the reduction scaler unit 111 and an imageenlargement process by the enlargement scaler unit 113 from time t35till time t38 are repeated to achieve animation display in which thesize of the output image (display image) is continuously reduced overtime.

Further, in the animation display process shown in FIG. 16, the imageparameters to be exchanged between the reduction scaler unit 111 and theenlargement scaler unit 113 are as follows. That is, the enlargementscaler unit 113 supplies the first image parameters, which are theoutput display parameters, the margin parameters, the animation flag,and the initial flag, to the reduction scaler unit 111, while thereduction scaler unit 111 supplies the second image parameters, whichare the size of the intermediate resolution and the output displayparameters.

Specifically, at time t35, the first image parameters include the outputdisplay parameters (B_Ani[01].x, y, w, h) and the margin parameters(B_Ani[09].x, y, w, h), since 8V is set as the margin size. Also, sincethe image processing device 100 is operating in the animation displaymode, the animation flag is on. Further, since the margin size settingprocess has been completed as the preprocessing for the animationdisplay, the initial flag is off.

The reduction scaler unit 111 compares the input image parameters(F_Src.x, y, w, h), the output display parameters (B_Ani[01].x, y, w,h), and the margin parameters (B_Ani[09].x, y, w, h), and selects themargin size after 9V (B_Ani[09].w, h) as the smallest size among thesizes included in those parameters (three-alternative choice). Thus, themargin size after 9V (B_Ani[09].w, h) is set as the size of theintermediate resolution (Mid.w, h). Also, the second image parametersincluding this intermediate resolution size and the output displayparameters are supplied to the enlargement scaler unit 113, and are settherein.

At time t36, the first image parameters include the output displayparameters (B_Ani[02].x, y, w, h) and the margin parameters(B_Ani[10].x, y, w, h).

The reduction scaler unit 111 compares the input image parameters(F_Src.x, y, w, h), the output display parameters (B_Ani[02].x, y, w,h), and the margin parameters (B_Ani[10].x, y, w, h), and selects themargin size after 10V (B_Ani[10].w, h) as the smallest size among thesizes included in those parameters (three-alternative choice). Thus, themargin size after 10V (B_Ani[10].w, h) is set as the size of theintermediate resolution (Mid.w, h). Also, the second image parametersincluding this intermediate resolution size and the output displayparameters are supplied to the enlargement scaler unit 113, and are settherein.

At time t37, the first image parameters include the output displayparameters (B_Ani [03].x, y, w, h) and the margin parameters (B_Ani[11].x, y, w, h).

The reduction scaler unit 111 compares the input image parameters(F_Src.x, y, w, h), the output display parameters (B_Ani[03].x, y, w,h), and the margin parameters (B_Ani[11].x, y, w, h), and selects themargin size after 11V (B_Ani[11].w, h) as the smallest size among thesizes included in those parameters (three-alternative choice). Thus, themargin size after 11V (B_Ani[11].w, h) is set as the size of theintermediate resolution (Mid.w, h). Also, the second image parametersincluding this intermediate resolution size and the output displayparameters are supplied to the enlargement scaler unit 113, and are settherein.

At time t38, the first image parameters include the output displayparameters (B_Ani [04].x, y, w, h) and the margin parameters (B_Ani[12].x, y, w, h).

The reduction scaler unit 111 compares the input image parameters(F_Src.x, y, w, h), the output display parameters (B_Ani[04].x, y, w,h), and the margin parameters (B_Ani[12].x, y, w, h), and selects themargin size after 12V (B_Ani[12].w, h) as the smallest size among thesizes included in those parameters (three-alternative choice). Thus, themargin size after 12V (B_Ani[12].w, h) is set as the size of theintermediate resolution (Mid.w, h). Also, the second image parametersincluding this intermediate resolution size and the output displayparameters are supplied to the enlargement scaler unit 113, and are settherein.

As described above, in the animation display process shown in FIG. 16, asize with a margin size is set as the intermediate resolution, as asufficient margin size obtained in the margin size setting process shownin FIG. 15 is used. Thus, the enlargement scaler unit 113 can smoothlyupdate the display size of the output image (display image), and achievesmooth animation display. That is, in the animation display processshown in FIG. 16, the reduction scaler unit 111 in the stage before thememory unit 112 maintains an output size not larger than the size of theinput image, while the enlargement scaler unit 113 maintains an outputsize not smaller than the size of the memory-held image.

Further, the reason for setting a margin size for the intermediateresolution during animation display is to cope with a possible situationwhere the input image and the output image have different framefrequencies. Although the input and output frame frequencies are assumedto be the same in each of the drawings, the input and output framefrequencies are normally different in two-screen display or the like. Ina case where the input and output frame frequencies are different, thetiming for the reduction scaler unit 111 to set the intermediateresolution differs from the timing for the enlargement scaler unit 113to set the output display size. In view of this, the size of theintermediate resolution is allowed to have a margin, and the enlargementscaler unit 113 is controlled to maintain a size-unchanged state or anenlarged state.

In this example, after the animation display shown in FIG. 16 ends, thenon-animation display process shown in FIG. 17 (postprocessing for theanimation display) is performed. It should be noted that, in thisexample, time t38 in FIG. 16 (FIG. 17) is the ending time of theanimation display, and time t39 in FIG. 17 is the starting time of thenon-animation display.

Specifically, at time t39, the enlargement scaler unit 113 supplies thefirst image parameters, which include the output display parameters(B_Ani[04].x, y, w, h), the animation flag, and the initial flag, to thereduction scaler unit 111. It should be noted that the image processingdevice 100 is operating in the non-animation display mode in thisexample, and therefore, the animation flag and the initial flag are off.

The reduction scaler unit 111 compares the input image parameters(F_Src.x, y, w, h) with the output display parameters (B_Ani[04].x, y,w, h), and selects the parameters of the smaller size (the smallestsize) from the sizes included in those parameters (two-alternativechoice). In this example, the output size in the output displayparameters is smaller than the image size in the input image parameters,and therefore, the output size (B_Ani[04].w, h) in the output displayparameters is selected (two-alternative choice) and is set as the sizeof the intermediate resolution (Mid.w, h).

Also, when the reduction scaler unit 111 sets the intermediateresolution, the display size in the output display parameters to bereturned to the enlargement scaler unit 113 is set in the imageparameter transmission system. The reduction scaler unit 111 suppliesthe second image parameters to the enlargement scaler unit 113. Thesesecond image parameters include the size of the intermediate resolution(B_Ani[04].w, h) and the output display parameters (B_Ani[04].x, y, w,h).

At time t40, the enlargement scaler unit 113 sets the size of theintermediate resolution (B_Ani[04].w, h) and the output displayparameters (B_Ani[04].x, y, w, h) of the output image (display image),in accordance with the second image parameters supplied from thereduction scaler unit 111. In this example, the size of the intermediateresolution is the same as the display size of the output image (displayimage). Therefore, the enlargement scaler unit 113 reads the memory-heldimage from the memory unit 112, and outputs the memory-held image whilemaintaining the current size of the memory-held image. As a result, theoperation mode switches from the animation display mode to thenon-animation display mode in the image processing device 100.

As described above, in the transition at the time of an image reductiontransition in animation display, a sufficient margin size obtained inthe margin size setting process performed as preprocessing for theanimation display is used, so that a size with a margin size is set asthe intermediate resolution. Accordingly, the display size of the outputimage (display image) can be smoothly updated (reduced) even when theinput and output frame frequencies are different. Thus, smooth animationdisplay can be achieved.

(Transition at the Time of an Image Enlargement Transition in AnimationDisplay)

FIGS. 18 through 20 are diagrams for explaining the transition at thetime of an image enlargement transition in animation display.

It should be noted that, like FIGS. 15 through 17 described above, FIGS.18 through 20 illustrate the following processes. FIG. 18 shows a marginsize setting process, FIG. 19 shows an animation display process, andFIG. 20 shows a non-animation display process (postprocessing for theanimation display). In this example, these processes are to be performedas a series of processes. Therefore, the image processing device 100operates in the animation display mode in FIGS. 18 and 19, but operatesin the non-animation display mode in FIG. 20.

At time t51, the reduction scaler unit 111 performs an image reductionprocess to reduce the size of an input image, and writes the reducedinput image into the memory unit 112. The enlargement scaler unit 113then reads the memory-held image stored in the memory unit 112, andoutputs the memory-held image as the output image without any change insize.

At time t51, the enlargement scaler unit 113 also supplies the firstimage parameters, which include the output display parameters, themargin parameters, the animation flag, and the initial flag, to thereduction scaler unit 111.

It should be noted that the margin size of the intermediate resolutionis set at 8V in this example. Therefore, the first image parametersinclude the output display parameters (B_Ani[00].x, y, w, h) and themargin parameters (B_Ani[08].x, y, w, h). Further, the animation flagand the initial flag are both on.

At time t52, the reduction scaler unit 111 compares the input imageparameters (F_Src.x, y, w, h), the output display parameters(B_Ani[00].x, y, w, h), and the margin parameters (B_Ani[08].x, y, w,h), and selects the smallest size from the sizes included in thoseparameters (three-alternative choice). Since the output size in theoutput display parameters is the smallest in this example (B_Ani[00].w,h<B_Ani[08].w, h<F_Src.w, h), the output size in the output displayparameters is selected. It should be noted that the smallest horizontalsize and the smallest vertical size are selected independently of eachother in this case.

At time t53, the reduction scaler unit 111 sets the size of theintermediate resolution (Mid.w, h), which is the output size(B_Ani[00].w, h) in the output display parameters selected as thesmallest size. In this example, the output size (B_Ani[00].w, h) in theoutput display parameters, which are smaller than the input imageparameters, is set as the size of the intermediate resolution.Therefore, the reduction scaler unit 111 performs an image reductionprocess to reduce the image size of the input image to the size of theintermediate resolution, and writes the reduced input image into thememory unit 112.

It should be noted that, when the reduction scaler unit 111 sets theintermediate resolution, the output display parameters (B_Ani[00].x, y,w, h) to be returned to the enlargement scaler unit 113 are set in theimage parameter transmission system. The reduction scaler unit 111supplies the second image parameters to the enlargement scaler unit 113.These second image parameters include the size of the intermediateresolution (B_Ani[00].w, h) and the output display parameters(B_Ani[00].x, y, w, h).

At time t54, the enlargement scaler unit 113 sets the size of theintermediate resolution (B_Ani[00].w, h) and the output displayparameters (B_Ani[00].x, y, w, h) of the output image (display image),in accordance with the second image parameters supplied from thereduction scaler unit 111. In this example, the display size of theoutput image is the same as the size of the intermediate resolution.Therefore, the enlargement scaler unit 113 reads the memory-held imagestored in the memory unit 112, and outputs the memory-held image as theoutput image while maintaining the current size of the memory-heldimage.

As the margin size setting process shown in FIG. 18 is performed asabove, the margin size after 8V is set as the size of the intermediateresolution, and accordingly, a sufficient margin size is achieved. Thus,the preparation for the start of an animation display process iscompleted. Then, after the preparation for the start of an animationdisplay process is completed, the animation display process shown inFIG. 19 is started.

In the animation display process shown in FIG. 19, at time t55 and timet56, the memory-held image that has been reduced in the image reductionprocess performed by the reduction scaler unit 111 and is stored in thememory unit 112 is output by the enlargement scaler unit 113 without anychange in the size of the memory-held image. Further, at time t57,neither the image reduction process by the reduction scaler unit 111 northe image enlargement process by the enlargement scaler unit 113 isperformed. That is, in this state, the input image that is input to thereduction scaler unit 111 is output as the output image (display image)from the enlargement scaler unit 113, without any change in the size ofthe input image.

Then, after the input image and the output image (display image) becomeequal to each other in size, at time t58, the reduction scaler unit 111stores the input image into the memory unit 112 without any change inthe size of the input image, and the enlargement scaler unit 113enlarges the memory-held image stored in the memory unit 112, andoutputs the enlarged memory-held image as the output image (displayimage). In this manner, animation display in which the output image(display image) is continuously enlarged over time is achieved.

It should be noted that, thereafter, the process performed by thereduction scaler unit 111 to store the input image into the memory unit112 without any change in the size of the input image, and the imageenlargement process performed by the enlargement scaler unit 113 toenlarge the memory-held image are repeated, as in the process at timet58. In this manner, animation display in which the output image(display image) is continuously enlarged over time is achieved.

Further, in the animation display process shown in FIG. 19, the imageparameters to be exchanged between the reduction scaler unit 111 and theenlargement scaler unit 113 are as follows. That is, the enlargementscaler unit 113 supplies the first image parameters, which are theoutput display parameters, the margin parameters, the animation flag,and the initial flag, to the reduction scaler unit 111, while thereduction scaler unit 111 supplies the second image parameters, whichare the size of the intermediate resolution and the output displayparameters.

Specifically, at time t55, the first image parameters include the outputdisplay parameters (B_Ani[01].x, y, w, h) and the margin parameters(B_Ani[09].x, y, w, h), since 8V is set as the margin size. Further,although the animation flag is on, the initial flag is off, because themargin size setting process has been completed at this stage.

The reduction scaler unit 111 compares the input image parameters(F_Src.x, y, w, h), the output display parameters (B_Ani[01].x, y, w,h), and the margin parameters (B_Ani[09].x, y, w, h), and selects thedisplay size (B_Ani[01].w, h) in the output display parameters as thesmallest size among the sizes included in those parameters(three-alternative choice). Thus, the display size (B_Ani[01].w, h) isset as the size of the intermediate resolution (Mid.w, h). Also, thesecond image parameters including this intermediate resolution size andthe output display parameters are supplied to the enlargement scalerunit 113, and are set therein.

At time t56, the first image parameters include the output displayparameters (B_Ani[02].x, y, w, h) and the margin parameters(B_Ani[10].x, y, w, h).

The reduction scaler unit 111 compares the input image parameters(F_Src.x, y, w, h), the output display parameters (B_Ani[02].x, y, w,h), and the margin parameters (B_Ani[10].x, y, w, h), and selects thedisplay size (B_Ani[02].w, h) in the output display parameters as thesmallest size among the sizes included in those parameters(three-alternative choice). Thus, the display size (B_Ani[02].w, h) isset as the size of the intermediate resolution (Mid.w, h). Also, thesecond image parameters including this intermediate resolution size andthe output display parameters are supplied to the enlargement scalerunit 113, and are set therein.

At time t57, the first image parameters include the output displayparameters (B_Ani [03].x, y, w, h) and the margin parameters (B_Ani[11].x, y, w, h).

The reduction scaler unit 111 compares the input image parameters(F_Src.x, y, w, h), the output display parameters (B_Ani[03].x, y, w,h), and the margin parameters (B_Ani[11].x, y, w, h), and selects theimage size (F_Src.w, h) in the input image parameters as the smallestsize among the sizes included in those parameters (three-alternativechoice). Thus, the image size (F_Src.w, h) is set as the size of theintermediate resolution (Mid.w, h). Also, the second image parametersincluding this intermediate resolution size and the output displayparameters are supplied to the enlargement scaler unit 113, and are settherein.

At time t58, the first image parameters include the output displayparameters (B_Ani [04].x, y, w, h) and the margin parameters (B_Ani[12].x, y, w, h).

The reduction scaler unit 111 compares the input image parameters(F_Src.x, y, w, h), the output display parameters (B_Ani[04].x, y, w,h), and the margin parameters (B_Ani[12].x, y, w, h), and selects theimage size (F_Src.w, h) in the input image parameters as the smallestsize among the sizes included in those parameters (three-alternativechoice). Thus, the image size (F_Src.w, h) is set as the size of theintermediate resolution (Mid.w, h). Also, the second image parametersincluding this intermediate resolution size and the output displayparameters are supplied to the enlargement scaler unit 113, and are settherein.

As described above, in the animation display process shown in FIG. 19, asize with a margin size is set as the intermediate resolution, as asufficient margin size obtained in the margin size setting process shownin FIG. 18 is used. Thus, the enlargement scaler unit 113 can smoothlyupdate the display size of the output image (display image), and achievesmooth animation display. That is, in the animation display processshown in FIG. 19, the reduction scaler unit 111 in the stage before thememory unit 112 maintains an output size not larger than the size of theinput image, while the enlargement scaler unit 113 maintains an outputsize not smaller than the size of the memory-held image.

In this example, after the animation display shown in FIG. 19 ends, thenon-animation display process shown in FIG. 20 (postprocessing for theanimation display) is performed. It should be noted that, in thisexample, time t58 in FIG. 19 (FIG. 20) is the ending time of theanimation display, and time t59 in FIG. 20 is the starting time of thenon-animation display.

Specifically, at time t59, the enlargement scaler unit 113 supplies thefirst image parameters, which include the output display parameters(B_Ani[04].x, y, w, h), the animation flag, and the initial flag, to thereduction scaler unit 111. It should be noted that the image processingdevice 100 is operating in the non-animation display mode in thisexample, and therefore, the animation flag and the initial flag are off.

The reduction scaler unit 111 compares the input image parameters(F_Src.x, y, w, h) with the output display parameters (B_Ani[04].x, y,w, h), and selects the smaller size (the smallest size) from the sizesincluded in those parameters (two-alternative choice). In this example,the image size in the input image parameters is smaller than the displaysize in the output display parameters, and therefore, the image size(F_Src.w, h) in the input image parameters is selected (two-alternativechoice) and is set as the size of the intermediate resolution (Mid.w,h).

Also, when the reduction scaler unit 111 sets the intermediateresolution, the display size in the output display parameters to bereturned to the enlargement scaler unit 113 is set in the imageparameter transmission system. The reduction scaler unit 111 suppliesthe second image parameters to the enlargement scaler unit 113. Thesesecond image parameters include the size of the intermediate resolution(F_Src.w, h) and the output display parameters (B_Ani[04].x, y, w, h).

At time t60, the enlargement scaler unit 113 sets the size of theintermediate resolution (F_Src.w, h) and the output display parameters(B_Ani[04].x, y, w, h) of the output image (display image), inaccordance with the second image parameters supplied from the reductionscaler unit 111. In this example, the display size of the output imageis larger than the size of the intermediate resolution. Therefore, theenlargement scaler unit 113 performs an image enlargement process toenlarge the memory-held image (having the size of the intermediateresolution) read from the memory unit 112 to the display size of theoutput image, and outputs the enlarged output image. As a result, theoperation mode switches from the animation display mode to thenon-animation display mode in the image processing device 100.

As described above, in the transition at the time of an imageenlargement transition in animation display, a sufficient margin sizeobtained in the margin size setting process performed as preprocessingfor the animation display is used, so that a size with a margin size isset as the intermediate resolution. Accordingly, the display size of theoutput image (display image) can be smoothly updated (enlarged) evenwhen the input and output frame frequencies are different. Thus, smoothanimation display can be achieved.

<3. Specific Configuration for Achieving Interlocked Operations of theScaler Units>

(Specific Implementation Method)

The image parameter transfer for enabling the above described scalerunits to operate in conjunction with each other can be performed byhardware or software.

(Example Configuration of Hardware)

FIG. 21 shows a configuration in a case where the image parametertransfer for enabling the scaler units to operate in conjunction witheach other is performed by hardware. FIG. 21 shows a hardwareconfiguration for transferring the first image parameters from theenlargement scaler unit 113 to the reduction scaler unit 111.

In FIG. 21, shortly before (a few milliseconds before, for example) thetiming indicated by a vertical synchronization signal on the output side(Output Vsync), the software that controls the enlargement scaler unit113 writes the first image parameters into a register. The first imageparameters are then latched in a flip-flop 311 at the timing indicatedby the vertical synchronization signal on the output side. After that,the output is latched in a flip-flop 312 at the timing of a verticalsynchronization signal on the input side (Input Vsync). Then, shortlyafter (or immediately after) the timing indicated by the verticalsynchronization signal on the input side, the first image parametersfrom the register are read by the software that controls the reductionscaler unit 111.

As the first image parameters are exchanged in such a hardwareconfiguration, the reduction scaler unit 111 and the enlargement scalerunit 113 operate in conjunction with each other. It should be notedthat, although a hardware configuration for transferring the first imageparameters is shown in FIG. 21, a configuration for transferring thesecond image parameters from the reduction scaler unit 111 to theenlargement scaler unit 113 may be formed by hardware.

(Example Configuration of Software)

FIG. 22 shows a configuration in a case where the image parametertransfer for enabling the scaler units to operate in conjunction witheach other is performed by software. FIG. 22 shows a softwareconfiguration for transferring the second image parameters from thereduction scaler unit 111 to the enlargement scaler unit 113.

It should be noted that, in the embodiment of the present technology,this mechanism of software is referred to as the “image parametertransmission system”. The image parameter transmission system is asystem that manages image data (picture images) and image parameters inone-to-one correspondence. With this system, the second image parametersto be used for the image data stored in the memory unit 112 aretransferred from the reduction scaler unit 111 to the enlargement scalerunit 113.

In the image parameter transmission system shown in FIG. 22, when imageprocessing is performed on image data via a memory unit 332, a CPU 331performs image data control on image processing hardware 333-1 in thestage before the memory unit 332, to control the image data to bewritten into the memory unit 332. At the same time, the CPU 331 alsostores the image parameters related to the image data into the memoryunit 332, so that the image data and the image parameters are managed bysoftware.

Also, in a case where image processing hardware 333-2 (333-3) in thestage after the memory unit 332 reads image data stored in the memoryunit 332, the CPU 331 reads the image parameters related to the imagedata from the memory unit 332, and sets the image parameters in theimage processing hardware 333-2 (333-3). That is, the CPU 331 acquiresthe image parameters related to the current image data to be subjectedto image processing, before the image processing is performed by theimage processing hardware 333-2 (333-3). The CPU 331 then sets the imageparameters in the image processing hardware 333-2 (333-3) before theimage processing is performed.

By virtue of this, the image processing hardware 333-2 (333-3) canreflect the image parameters set by the CPU 331 in performing imageprocessing on the image data read from the memory unit 332. It should benoted that the image parameters to be used in the image parametertransmission system include size, format, and a write address, forexample.

Then, in the image processing device 100, the principles of this imageparameter transmission system are used in transferring the second imageparameters. That is, where the memory unit 332 in FIG. 22 is equivalentto the memory unit 112 in FIG. 5, the image processing hardware 333-1 inFIG. 22 is equivalent to the reduction scaler unit 111 in FIG. 5, theimage processing hardware 333-2 in FIG. 22 is equivalent to theenlargement scaler unit 113 in FIG. 5, and the CPU 331 in FIG. 22 isprovided inside the image processing device 100 in FIG. 5, the secondimage parameters for the current image data to be subjected to imageprocessing can be transferred to the enlargement scaler unit 113.

As the first image parameters and the second image parameters areexchanged in such a software configuration, the reduction scaler unit111 and the enlargement scaler unit 113 operate in conjunction with eachother. It should be noted that, although a software configuration fortransferring the second image parameters is shown in FIG. 22, aconfiguration for transferring the first image parameters from theenlargement scaler unit 113 to the reduction scaler unit 111 may also beformed by software.

(Method of Determining the Margin Size)

Referring now to FIGS. 23 and 24, the method of determining the marginsize in animation display is described. It should be noted that thealphabets “A” through “I” in FIGS. 23 and 24 indicate that the contentsin these drawings correspond to each other.

In the example described above, 8V is set as the margin size in themargin size setting process. However, the margin size of 8V wasdetermined through a specific simulation conducted by the inventor ofthe present technology. That is, the inventor of the present technologypaid attention to the time required for the second image parameters tobe returned from the reduction scaler unit 111 to the enlargement scalerunit 113 when the first image parameters were transferred from theenlargement scaler unit 113 to the reduction scaler unit 111, anddetermined the margin size of 8V from the required time.

Specifically, FIG. 23 shows that the reduction scaler unit 111 and theenlargement scaler unit 113 operate in conjunction with each other byexchanging the first image parameters and the second image parameters.Meanwhile, the timing chart in FIG. 24 shows the time required for thesecond image parameters to be returned from the reduction scaler unit111 to the enlargement scaler unit 113 when the first image parametersare transferred from the enlargement scaler unit 113 to the reductionscaler unit 111, in a case where the vertical synchronization signal onthe input side (Input Vsync) is at 24 Hz (the input image size being1280×720), and the vertical synchronization signal on the output side(Output Vsync) is at 60 Hz (the display size changing from 1920×1080 to720×480).

As shown in the timing chart in FIG. 24, 7V after the first imageparameters are transferred from the enlargement scaler unit 113 to thereduction scaler unit 111, the second image parameters from thereduction scaler unit 111 are transferred to the enlargement scaler unit113. Here, the margin size of 8V is determined, as a margin is added to7V. That is, a margin is added to 7V, in view of the input and outputfrequencies and the influence of a system delay or the like in writinginto or reading from the memory unit 112. Alternatively, it is possibleto implement a method of determining the margin size to be a size assmall as a few percent to a few tens of percent of the display size ofthe output image (display image). However, to prevent image qualitydegradation (to achieve higher image quality), there is a need toperform control so that operation is performed in the smallest possiblesize setting, which is 8V.

(Method of Calculating the Display Position and the Display Size of aDisplay Image in Animation Display)

Referring now to FIGS. 25 through 28, a method of calculating thedisplay position and the display size of a display image (output image)in animation display is described.

(Animation Display Based on Linear Characteristics)

FIG. 25 shows animation display based on linear characteristics.

In FIG. 25, animation display is being performed, and therefore, thedisplay position and the display size of the display image are indicatedby margin parameters. In this example, the linear characteristicsanimation display table shown in FIG. 26 is used. Since the relationshipbetween time and the rate of change is a linear relationship, thedisplay image changes its display position and display size at aconstant rate.

For example, where the margin parameters at the start of animationdisplay and at the end of the animation display are set as B_Ani[0].x,y, w, h, and B_Ani[255].x, y, w, h, the margin parameters change fromB_Ani[0].x, y, w, h to B_Ani[255].x, y, w, h, according to the linearcharacteristics animation display table in FIG. 26. As a result, thedisplay image in FIG. 25 changes its display position and display sizeat a constant rate, and the display size is reduced.

It is also possible to calculate the margin size (8V later, for example)in animation display by taking advantage of such a mechanism. It shouldbe noted that, in a case where the value to be obtained 8V later isoutside the table characteristics range defined in the linearcharacteristics animation display table in FIG. 26, for example, alimiting process is performed with the position and the size value atthe end of the display.

(Animation Display Based on Quadratic Curve Characteristics)

FIG. 27 shows animation display based on quadratic curvecharacteristics.

In FIG. 27, animation display is being performed, and therefore, thedisplay position and the display size of the display image are indicatedby margin parameters. In this example, the quadratic curvecharacteristics animation display table shown in FIG. 28 is used. Sincethe relationship between time and the rate of change is a non-linearrelationship, the display image changes its display position and displaysize at a constant rate.

For example, where the margin parameters at the start of animationdisplay and at the end of the animation display are set as B_Ani[0].x,y, w, h, and B_Ani[255].x, y, w, h, the margin parameters change fromB_Ani[0].x, y, w, h to B_Ani[255].x, y, w, h, according to the quadraticcurve characteristics animation display table in FIG. 28. As a result,the display image in FIG. 27 changes its display position and displaysize at an accelerated rate in a certain area, for example, and thedisplay size is reduced.

It is also possible to calculate the margin size (8V later, for example)in animation display by taking advantage of such a mechanism. It shouldbe noted that, in a case where the value to be obtained 8V later isoutside the table characteristics range defined in the quadratic curvecharacteristics animation display table in FIG. 28, for example, alimiting process is performed with the position and the size value atthe end of the display.

<4. Flow of a Scaling Process>

(Scaling Process)

Referring first to the flowchart in FIG. 29, a scaling process to beperformed by the image processing device 100 shown in FIG. 5 isdescribed.

In step S111, a check is made to determine whether the initial flag(AnimInit) is on. If the initial flag is determined to be on in stepS111, the process moves on to step S112. In step S112, a margin sizesetting process is performed. As this margin size setting process, aprocess similar to the margin size setting process shown in FIG. 15 or18 is performed. As the margin size setting process is performed, a sizewith a margin size is set as the size of the intermediate resolution,and the preparation for animation display is performed.

After the processing in step S112 is completed, the process moves on tothe step S113. Further, if the initial flag is determined to be off instep S111, step S112 is skipped, and the process moves on to the stepS113. In step S113, a parameter selection process is performed. As thisparameter selection process is performed, the parameters for controllingan image reduction process by the reduction scaler unit 111 and an imageenlargement process by the enlargement scaler unit 113 in aninterlocking manner are set.

It should be noted that the parameter selection process will bedescribed later in detail with reference to the flowchart in FIG. 30.

In step S114, a check is made to determine whether to reduce the imagedata of an input image, in accordance with the parameters selected instep S113. If it is determined in step S114 that the image data of theinput image is to be reduced, the process moves on to step S115. In stepS115, the reduction scaler unit 111 reduces the image data of the inputimage by performing an image reduction process on the image data of theinput image, and writes the image data into the memory unit 112.

It should be noted that, if it is determined in step S114 that the imagedata of the input image is not to be reduced, step S115 is skipped. Inthis case, the reduction scaler unit 111 writes the image data of theinput image into the memory unit 112, while maintaining the current sizeof the input image without performing any image reduction process on theimage data of the input image.

In step S116, a check is made to determine whether to enlarge the imagedata of a memory-held image read from the memory unit 112, in accordancewith the parameters selected in step S113. If it is determined in stepS116 that the image data of the memory-held image is to be enlarged, theprocess moves on to step S117. In step S117, the enlargement scaler unit113 enlarges the image data of the memory-held image by performing animage enlargement process on the image data of the memory-held imageread from the memory unit 112, and outputs the enlarged image data asthe image data of the output image (display image).

It should be noted that, if it is determined in step S116 that the imagedata of the memory-held image is not to be enlarged, step S117 isskipped. In this case, the enlargement scaler unit 113 outputs the imagedata of the memory-held image as the image data of the output image(display image), while maintaining the current size of the memory-heldimage without performing any image enlargement process on the image dataof the memory-held image. When the processing in step S117 is completed,the scaling process shown in FIG. 29 comes to an end.

The above described process is the scaling process.

(Parameter Selection Process)

Referring now to the flowchart in FIG. 30, the parameter selectionprocess equivalent to the processing in step S113 in FIG. 29 isdescribed. It should be noted that the reduction scaler unit 111 hasacquired the first image parameters from the enlargement scaler unit113, and the input image parameters (F_Src.x, y, w, h), before theparameter selection process is performed.

In step S151, the reduction scaler unit 111 determines whether B_Win.wis greater than F_Src.w. That is, the smallest value between thehorizontal size of the input image and the horizontal size of the outputimage (display image) from the enlargement scaler unit 113 is determinedin this step.

If B_Win.w is determined to be greater than F Src.w in step S151, theprocess moves on to step S152. In step S152, the reduction scaler unit111 sets F_Src.w as Mid.w. In this case, the horizontal size of theinput image is selected as the horizontal size of the intermediateresolution.

Further, if B_Win.w is determined not to be greater than F_Src.w in stepS151, the process moves on to step S153. In step S153, the reductionscaler unit 111 sets B_Win.w as Mid.w. In this case, the horizontal sizeof the output image (display image) is selected as the horizontal sizeof the intermediate resolution.

After the horizontal size of the input image or the horizontal size ofthe output image is selected as the horizontal size of the intermediateresolution (two-alternative choice) in step S152 or S153, the processmoves on to step S154. In step S154, the reduction scaler unit 111determines whether the animation flag (Animation) is on.

If the animation flag is determined to be on in step S154, the processmoves on to step S155. In step S155, the reduction scaler unit 111determines whether Mid.w is greater than B_Ani.w. That is, the smallestvalue between the determined smallest value between the horizontal sizeof the input image and the horizontal size of the output image, and thehorizontal size of the margin parameter size (the margin size) isdetermined in this step.

If Mid.w is determined to be greater than B_Ani.w in step S155, theprocess moves on to step S156. In step S156, the reduction scaler unit111 sets B_Ani.w as Mid.w. In this case, the horizontal size of themargin size is selected as the size of the intermediate resolution.

Further, if Mid.w is determined not to be greater than B_Ani.w in stepS155, on the other hand, step S156 is skipped. In this case, thehorizontal size of the margin size is not selected as the size of theintermediate resolution, and either the horizontal size of the inputimage or the horizontal size of the output image is selected as the sizeof the intermediate resolution.

That is, in a case where the animation flag is on, the horizontal sizeof the input image, the horizontal size of the output image, or thehorizontal size of the margin size is selected as the horizontal size ofthe intermediate resolution (three-alternative choice).

If the animation flag is determined to be off in step S154, or if Mid.wis determined not to be greater than B_Ani.w in step S155, or when theprocessing in step S156 is completed, the process moves on to step S157.

As the procedures in steps S151 through S156 are carried out asdescribed above, the smallest horizontal size is calculated and isselected as the horizontal size of the intermediate resolution. Further,likewise, as the procedures in step S157 through S162 are carried out,the smallest vertical size is calculated and is selected as the verticalsize of the intermediate resolution.

In step S157, the reduction scaler unit 111 determines whether B_Win.his greater than F_Src.h. That is, the smallest value between thevertical size of the input image and the vertical size of the outputimage (display image) from the enlargement scaler unit 113 is determinedin this step.

If B_Win.h is determined to be greater than F Src.h in step S157, theprocess moves on to step S158. In step S158, the reduction scaler unit111 sets F_Src.h as Mid.h. In this case, the vertical size of the inputimage is selected as the vertical size of the intermediate resolution.

Further, if B_Win.h is determined not to be greater than F_Src.h in stepS157, on the other hand, the process moves on to step S159. In stepS159, the reduction scaler unit 111 sets B_Win.h as Mid.h. In this case,the vertical size of the output image (display image) is selected as thevertical size of the intermediate resolution.

After the vertical size of the input image or the vertical size of theoutput image is selected as the vertical size of the intermediateresolution (two-alternative choice) in step S158 or S159, the processmoves on to step S160. In step S160, the reduction scaler unit 111determines whether the animation flag (Animation) is on.

If the animation flag is determined to be on in step S160, the processmoves on to step S161. In step S161, the reduction scaler unit 111determines whether Mid.h is greater than B_Ani.h. That is, the smallestvalue between the determined smallest value between the vertical size ofthe input image and the vertical size of the output image, and thevertical size of the margin size is determined.

If Mid.h is determined to be greater than B_Ani.h in step S161, theprocess moves on to step S162. In step S162, the reduction scaler unit111 sets B_Ani.h as Mid.h. In this case, the vertical size of the marginsize is selected as the size of the intermediate resolution.

Further, if Mid.h is determined not to be greater than B_Ani.h in stepS161, on the other hand, step S162 is skipped. In this case, thevertical size of the margin size is not selected as the size of theintermediate resolution, and either the vertical size of the input imageor the vertical size of the output image is selected as the size of theintermediate resolution.

That is, in a case where the animation flag is on, the vertical size ofthe input image, the vertical size of the output image, or the verticalsize of the margin size is selected as the vertical size of theintermediate resolution (three-alternative choice).

If the animation flag is determined to be off in step S160, or if Mid.his determined not to be greater than B_Ani.h in step S161, or when theprocessing in step S162 is completed, the parameter selection process inFIG. 30 comes to an end. The process then returns to step S113 in FIG.29, and the procedures thereafter are carried out.

In the above described manner, the reduction scaler unit 111 selects thehorizontal size and the vertical size of the intermediate resolution. Itshould be noted that the reduction scaler unit 111 supplies theenlargement scaler unit 113 with the second image parameters includingthe size of the intermediate resolution obtained in the parameterselection process shown in FIG. 30.

<5. Configuration of a Receiving Apparatus>

FIG. 31 is a diagram showing the configuration of an embodiment of areceiving apparatus to which the present technology is applied.

The receiving apparatus 400 shown in FIG. 31 is an electronic apparatuscapable of displaying content with high image quality, such as 4K2Kcontent. The receiving apparatus 400 may be a television receiver, asmartphone, a tablet terminal device, a game machine, or a personalcomputer, for example. In FIG. 31, the receiving apparatus 400 includesa control unit 411, a tuner unit 412, an image processing unit 413, anda display unit 414.

The control unit 411 controls operations of the respective components ofthe receiving apparatus 400.

Under the control of the control unit 411, the tuner unit 412 receives adigital broadcast signal via an antenna 421, performs a demodulatingprocess or the like, and supplies the resultant image data to the imageprocessing unit 413.

Under the control of the control unit 411, the image processing unit 413performs predetermined image processing on the image data of an inputimage supplied from the tuner unit 412, and causes the display unit 414to display the display image (output image) obtained as a result of theimage processing.

Here, the image processing unit 413 is equivalent to the imageprocessing device 100 described above (FIG. 5), and includes a reductionscaler unit 111, a memory unit 112, and an enlargement scaler unit 113.In the image processing unit 413, the reduction scaler unit 111 and theenlargement scaler unit 113 exchange image parameters, so that an imagereduction process by the reduction scaler unit 111 and an imageenlargement process by the enlargement scaler unit 113 are performed inconjunction with each other via the memory unit 112.

As described above, in the receiving apparatus 400, the image processingunit 413 performs an image reduction process and an image enlargementprocess on the image data of an input image. Thus, smooth display can beachieved in animation display of the image data of the input image, anddisplay with high image quality can be achieved in non-animationdisplay. In this manner, both smooth animation display and higher imagequality in non-animation display can also be achieved in the receivingapparatus 400.

It should be noted that, in FIG. 31, the receiving apparatus 400receives the content of a television program or the like transmittedwith digital broadcast signals. However, a communication unit having afunction to connect to a network such as the Internet may be provided inthe receiving apparatus 400, and the communication unit receives contentdistributed from a streaming server on the Internet, for example, sothat animation display or non-animation display of the content can beperformed.

It should be noted that the above described series of processes may beperformed by hardware or may be performed by software. In a case wherethe series of processes are performed by software, the program thatforms the software may be installed in a computer incorporated intospecial-purpose hardware, or may be installed from a recording mediuminto a general-purpose personal computer or the like that can executevarious kinds of functions by installing various kinds of programs.

This recording medium is formed with a removable medium that storesprograms and is distributed to provide the programs to users separatelyfrom computers. Such a removable medium may be a magnetic disk, anoptical disk, a magneto-optical disk, a semiconductor memory, or thelike. Alternatively, the recording medium may be formed with a ROM or arecording unit or the like that stores programs and is incorporated intocomputers in advance to be provided to users.

Also, the program for causing a computer to perform the above describedseries of processes may be installed into the computer through a wiredor wireless communication medium, such as a local area network, theInternet, or digital satellite broadcasting, via an interface such as arouter or a modem as necessary.

In this specification, the processing steps written in the program forcausing a computer to perform various processes are not necessarilycarried out in chronological order in accordance with the sequencedescribed as the flowcharts, but include procedures to be carried out inparallel or independently of one another (such as parallel procedures orobject-based procedures).

Also, the program may be executed by one computer, or may be executed ina distributive manner by more than one computer. Further, the programmay be transferred to a remote computer, and be executed therein.

It should be noted that embodiments of the present technology are notlimited to the above described embodiments, and various modificationsmay be made to them without departing from the scope of the presenttechnology.

The present technology may also be embodied in the configurationsdescribed below.

(1)

An image processing device including:

a memory unit that stores image data;

a reduction scaler unit that reduces the image data of an input image ormaintains the current size of the image data, and stores the image datainto the memory unit; and

an enlargement scaler unit that enlarges the image data stored in thememory unit or maintains the current size of the image data, and outputsthe image data as the image data of an output image,

wherein

the reduction scaler unit converts the resolution of the input image toan intermediate resolution in accordance with first parameters relatedto an image to be supplied from the enlargement scaler unit, theintermediate resolution being a resolution for performing writing on thememory unit, and

the enlargement scaler unit converts the intermediate resolution of amemory-held image read from the memory unit to the resolution of theoutput image, in accordance with second parameters related to an imageto be supplied from the reduction scaler unit.

(2)

The image processing device of (1), wherein when in an animation displaymode for displaying the output image while continuously changing thedisplay size of the output image in predetermined timing, a margin sizeis given to the intermediate resolution.

(3)

The image processing device of (2), wherein,

when in the animation display mode, the reduction scaler unit selectsthe size with the smallest value from among the image size of the inputimage, the display size of the output image, and the margin size, andsets the selected size as the size of the intermediate resolution, and

the reduction scaler unit incorporates the size with the smallest valueset as the intermediate resolution into the second parameters, andsupplies the second parameters to the enlargement scaler unit.

(4)

The image processing device of (3), wherein the enlargement scaler unitincorporates the display size of the output image and the margin sizeinto the first parameters, and supplies the first parameters to thereduction scaler unit.

(5)

The image processing device of any of (2) to (4), wherein the marginsize corresponds to the display size of the output image to be displayedlater in time.

(6)

The image processing device of any of (3) to (5), wherein

when not in the animation display mode, the reduction scaler unitselects the smaller one of the image size of the input image and thedisplay size of the output image, and sets the selected size as the sizeof the intermediate resolution, and

the reduction scaler unit incorporates the smaller size set as theintermediate resolution into the second parameters, and supplies thesecond parameters to the enlargement scaler unit.

(7)

The image processing device of (6), wherein the enlargement scaler unitincorporates the display size of the output image into the firstparameters, and supplies the first parameters to the reduction scalerunit.

(8)

The image processing device of (6) or (7), wherein when not in theanimation display mode, only one of an image reduction process by thereduction scaler unit and an image enlargement process by theenlargement scaler unit is performed.

(9)

An image processing method for an image processing device that includes:

a memory unit that stores image data;

a reduction scaler unit that reduces the image data of an input image ormaintains the current size of the image data, and stores the image datainto the memory unit; and

an enlargement scaler unit that enlarges the image data stored in thememory unit or maintains the current size of the image data, and outputsthe image data as the image data of an output image,

the image processing method including the steps of:

the reduction scaler unit converting the resolution of the input imageto an intermediate resolution in accordance with first parametersrelated to an image to be supplied from the enlargement scaler unit, theintermediate resolution being a resolution for performing writing on thememory unit; and

the enlargement scaler unit converting the intermediate resolution of amemory-held image read from the memory unit to the resolution of theoutput image, in accordance with second parameters related to an imageto be supplied from the reduction scaler unit.

(10)

A program for causing a computer to carry out:

an image reduction step of reducing the image data of an input image ormaintaining the current size of the image data, and storing the imagedata into a memory unit; and

an image enlargement step of enlarging the image data stored in thememory unit or maintaining the current size of the image data, andoutputting the image data as the image data of an output image,

wherein

the image reduction step converts the resolution of the input image toan intermediate resolution in accordance with first parameters relatedto an image to be obtained through the image enlargement step, theintermediate resolution being a resolution for performing writing on thememory unit, and

the image enlargement step converts the intermediate resolution of amemory-held image read from the memory unit to the resolution of theoutput image, in accordance with second parameters related to an imageto be obtained through the image reduction step.

REFERENCE SIGNS LIST

-   100 Image processing device-   111 Reduction scaler unit-   112 Memory unit-   113 Enlargement scaler unit-   400 Receiving apparatus-   411 Control unit-   412 Tuner unit-   413 Image processing unit-   414 Display unit

1. An image processing device comprising: a memory configured to storeimage data; reduction scaler circuitry configured to reduce image dataof an input image or maintain a current size of the image data of theinput image, and store the image data in the memory; and enlargementscaler circuitry configured to enlarge the image data stored in thememory or maintain a current size of the image data, and output imagedata of an output image.
 2. The image processing device according toclaim 1, wherein the reduction scaler circuitry converts a resolution ofthe input image to an intermediate resolution in accordance with firstparameters related to an image to be supplied from the enlargementscaler circuitry, the intermediate resolution being a resolution forperforming writing to the memory, and the enlargement scaler circuitryconverts the intermediate resolution of a memory-held image read fromthe memory to a resolution of the output image, in accordance withsecond parameters related to an image to be supplied from the reductionscaler circuitry.
 3. The image processing device according to claim 2,wherein when in an animation display mode for displaying the outputimage while continuously changing a display size of the output image inpredetermined timing, a margin size is given to the intermediateresolution.
 4. The image processing device according to claim 3, whereinwhen in the animation display mode, the reduction scaler circuityselects a size with the smallest value from among the image size of theinput image, the display size of the output image, and the margin size,and sets the selected size as the size of the intermediate resolution,and the reduction scaler circuitry incorporates the size with thesmallest value set as the intermediate resolution into the secondparameters, and supplies the second parameters to the enlargement scalercircuitry.
 5. The image processing device according to claim 4, whereinthe enlargement scaler circuitry incorporates the display size of theoutput image and the margin size into the first parameters, and suppliesthe first parameters to the reduction scaler circuitry.
 6. The imageprocessing device according to claim 3, wherein the margin sizecorresponds to the display size of the output image to be displayedlater in time.
 7. The image processing device according to claim 4,wherein when not in the animation display mode, the reduction scalercircuitry selects the smaller one of the image size of the input imageand the display size of the output image, and sets the selected size asthe size of the intermediate resolution, and the reduction scalercircuitry incorporates the smaller size set as the intermediateresolution into the second parameters, and supplies the secondparameters to the enlargement scaler circuitry.
 8. The image processingdevice according to claim 7, wherein the enlargement scaler circuitryincorporates the display size of the output image into the firstparameters, and supplies the first parameters to the reduction scalercircuitry.
 9. The image processing device according to claim 8, whereinwhen not in the animation display mode, only one of an image reductionprocess by the reduction scaler circuitry and an image enlargementprocess by the enlargement scaler circuitry is performed.
 10. Anon-transitory computer readable medium storing program code, theprogram code being executable by a processor to perform operationscomprising: storing image data in a memory; performing reduction scalingimage data of an input image or maintaining a current size of the imagedata of the input image, and storing the image data in the memory;performing enlargement scaling the image data stored in the memory ormaintaining a current size of the image data; and outputting image dataof an output image.
 11. The computer readable medium according to claim10, wherein: the reduction scaling converts a resolution of the inputimage to an intermediate resolution in accordance with first parametersrelated to an image to be supplied from the enlargement scaling, theintermediate resolution being a resolution for performing writing to thememory, and the enlargement scaling converts the intermediate resolutionof a memory-held image read from the memory to a resolution of theoutput image, in accordance with second parameters related to an imageto be supplied from the reduction scaling.
 12. The computer readablemedium according to claim 11, wherein when in an animation display modefor displaying the output image while continuously changing a displaysize of the output image in predetermined timing, a margin size is givento the intermediate resolution.
 13. The computer readable mediumaccording to claim 12, wherein when in the animation display mode, thereduction scaling selects a size with the smallest value from among theimage size of the input image, the display size of the output image, andthe margin size, and sets the selected size as the size of theintermediate resolution, and the reduction scaling incorporates the sizewith the smallest value set as the intermediate resolution into thesecond parameters, and supplies the second parameters for theenlargement scaling.
 14. The computer readable medium according to claim13, wherein the enlargement scaling incorporates the display size of theoutput image and the margin size into the first parameters, and suppliesthe first parameters for the reduction scaling.
 15. The computerreadable medium according to claim 12, wherein the margin sizecorresponds to the display size of the output image to be displayedlater in time.
 16. The computer readable medium according to claim 13,wherein when not in the animation display mode, the reduction scalingselects the smaller one of the image size of the input image and thedisplay size of the output image, and sets the selected size as the sizeof the intermediate resolution, and the reduction scaling incorporatesthe smaller size set as the intermediate resolution into the secondparameters, and supplies the second parameters for the enlargementscaling.
 17. The computer readable medium according to claim 16, whereinthe enlargement scaling incorporates the display size of the outputimage into the first parameters, and supplies the first parameters forthe reduction scaling.
 18. The computer readable medium according toclaim 17, wherein when not in the animation display mode, only one of animage reduction process by the reduction scaling and an imageenlargement process by the enlargement scaling is performed.
 19. Amethod for image processing, comprising: storing image data in a memory;performing reduction scaling image data of an input image or maintaininga current size of the image data of the input image, and storing theimage data in the memory; performing enlargement scaling the image datastored in the memory or maintaining a current size of the image data;and outputting image data of an output image.
 20. The method accordingto claim 19, wherein: the reduction scaling converts a resolution of theinput image to an intermediate resolution in accordance with firstparameters related to an image to be supplied from the enlargementscaling, the intermediate resolution being a resolution for performingwriting to the memory, and the enlargement scaling converts theintermediate resolution of a memory-held image read from the memory to aresolution of the output image, in accordance with second parametersrelated to an image to be supplied from the reduction scaling.